import server from "./http";

// 商品渲染
const getGood=(params)=>{
    let data=server.get("/goods",{params})
    return data
}


// 商品添加
const addGoods=(params)=>{
    let data=server.post("goods",params)
    return data
}


export{
   getGood,
   addGoods
}